package com.macro.mall.mapper;

import com.macro.mall.model.BmsVolunteerRegistration;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface BmsVolunteerRegistrationMapper {

    int insert(BmsVolunteerRegistration bmsVolunteerRegistration);

    int update(BmsVolunteerRegistration bmsVolunteerRegistration);

    List<BmsVolunteerRegistration> getMpList(BmsVolunteerRegistration bmsVolunteerRegistration);

    int updateNew(BmsVolunteerRegistration bmsVolunteerRegistration);

    Long selectNewId(BmsVolunteerRegistration bmsVolunteerRegistration);

    List<BmsVolunteerRegistration> getListNew(BmsVolunteerRegistration bmsVolunteerRegistration);

    BmsVolunteerRegistration selectById(@Param("id") Long id);

    String findCoverPicByActivitiesId(Long id);

    List<String> findPicListByActivitiesId(Long id);

    int selectBaoming(BmsVolunteerRegistration bmsVolunteerRegistration);

    List<BmsVolunteerRegistration> getListByUserId(BmsVolunteerRegistration bmsVolunteerRegistration);
}